package libofei.controller.admin.image;

import libofei.common.controller.BaseController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName AdminImageController
 * @Description 图片管理
 * @Author LIBOFEI
 * @Date 2020/5/29 14:14
 * @Version 1.0
 **/
@Controller
@RequestMapping("/admin")
public class AdminImageController extends BaseController {

    /**
     * @Description 图片管理主页
     * @Author LIBOFEI
     * @Date 14:17 2020/5/29
     * @Version  1.0
    **/
    private static final String IMAGE_INDEX = getViewPath("admin/image/image_index");

    private static final Logger logger = LoggerFactory.getLogger(AdminImageController.class);


    @RequestMapping("/image/index")
    public String imageIndex() {
        try{

        }catch (Exception e){
            logger.error("AdminImageController---imageIndex",e);
        }
        return IMAGE_INDEX;
    }
}
